import request from '@/utils/request'

//获取热门文章
export const queryHotArticles = () => {
	return request({
		url: 'queryHotArticles',
		method: 'get',
	})
}
//获取置顶推荐文章
export function queryToppingArticles() {
    return request({
        url: '/queryToppingArticles',
        method: 'get',
        params: {}
    })
}
//分页获取推荐文章
export function queryTJpage(pageNo,pageSize) {
    return request({
        url: '/queryTJpage/'+pageNo+"/"+pageSize,
        method: 'get',
        params: {}
    })
}
//模糊搜索文章
export function queryTJpage1(pageNo,pageSize) {
    return request({
        url: '/article/likeArticles',
        method: 'post',
        params: {}
    })
}